package com.qo.qsdk.ui.base.third;

import android.content.Context;
import android.graphics.Typeface;
import android.util.AttributeSet;
import android.widget.EditText;
import android.widget.TextView;

import androidx.appcompat.widget.AppCompatEditText;

public class Px9EditText extends AppCompatEditText {


    public Px9EditText(Context context) {
        super(context);
        init();
    }

    public Px9EditText(Context context, AttributeSet attrs) {
        super(context, attrs);
        init();
    }

    public Px9EditText(Context context, AttributeSet attrs,
                       int defStyle) {
        super(context, attrs, defStyle);
        init();
    }

    public void init(){
        if (!isInEditMode()) {
            Typeface tf = Typeface.createFromAsset(getContext().getAssets(), "px9.ttf");
            setTypeface(tf);
        }
    }


}